package com.vd.tbsms;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.vd.tbsms.process.LoadResProcess;
import com.vd.tbsms.process.SendProcess;
import com.vd.tbsms.process.impl.MailSendProcess;
import com.vd.tbsms.process.impl.XlsLoadResProcess;
import com.vd.tbsms.ui.TbsmsUI;

/**
 * Hello world!
 *
 */
public class App 
{
	private static Log log = LogFactory.getLog(App.class);
    public static void main( String[] args )
    {
    	log.info("Tbsms start.....");
        LoadResProcess loadProcess = new XlsLoadResProcess();
        SendProcess sendProcess = new MailSendProcess();
        TbsmsUI ui= new TbsmsUI(loadProcess,sendProcess);
        ui.start();
    	
    }
}
